package com.object.oriented.exam.system1.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.object.oriented.exam.system1.entity.Problem;
import com.object.oriented.exam.system1.entity.Search;

import java.util.List;

/**
 * @author : Apple
 * @description :
 * @date : 2023-06-14 09:07
 **/

public interface ProblemService extends IService<Problem> {

    void addProblem(Problem problem);

    void updateProblem(Problem problem);

    Page<Problem> getProblem(Search search);

    Problem getProblemById(Long id);


}
